package com.junjie.blibli.service.impl;

import com.junjie.blibli.Entity.auth.AuthRoleMenu;
import com.junjie.blibli.dao.AuthRoleMenuDao;
import com.junjie.blibli.service.AuthRoleMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

@Service
public class AuthRoleMenuServiceImpl implements AuthRoleMenuService {
    @Autowired
    private AuthRoleMenuDao authRoleMenuDao;

    @Override
    public List<AuthRoleMenu> getRoleMenuesByRoleIds(Set<Long> roleIdSet) {
        return authRoleMenuDao.getRoleMenuesByRoleIds(roleIdSet);
    }
}
